<?php



class TblEnquiryMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.TblEnquiryMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('mgig');

		$tMap = $this->dbMap->addTable('tbl_enquiry');
		$tMap->setPhpName('TblEnquiry');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('F_ID', 'FId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('F_TITLE', 'FTitle', 'string', CreoleTypes::VARCHAR, true, 255);

		$tMap->addColumn('F_QUESTION', 'FQuestion', 'string', CreoleTypes::LONGVARCHAR, true, null);

		$tMap->addColumn('F_ANSWER', 'FAnswer', 'string', CreoleTypes::LONGVARCHAR, true, null);

		$tMap->addColumn('F_DIST_ID', 'FDistId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('F_STATUS', 'FStatus', 'string', CreoleTypes::VARCHAR, true, 20);

		$tMap->addColumn('F_CREATED_DATETIME', 'FCreatedDatetime', 'int', CreoleTypes::TIMESTAMP, true, null);

		$tMap->addColumn('F_USER_ID', 'FUserId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('F_REPLY_ON', 'FReplyOn', 'int', CreoleTypes::TIMESTAMP, true, null);

	} 
} 